package com.ht.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author 代齐园
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 患者名称
     */
    private String patientName;

    private LocalDate birthday;

    /**
     * 性别 0/1 女/男
     */
    private Integer sex;

    private Long city;

    /**
     * 与患者的关系
     */
    private Integer relation;

    /**
     * 手机号
     */
    private String phone;
    /*
     * 当前登录用户的id
     * */
    private Long userId;


}